package com.google.code.ptrends.locators;

import com.google.code.ptrends.entities.SupplierConfiguration;

/**
 * Contract provides method(s) of creating of concrete instances of
 * {@link Locator}
 * 
 * @author tillias
 * 
 */
public interface LocatorFactory {
	/**
	 * Creates concrete {@link Locator} using given
	 * {@link SupplierConfiguration}
	 * 
	 * @return Concrete {@link Locator} or null if can't build
	 */
	Locator createLocator(SupplierConfiguration cfg);
}
